import { Http } from '@/common/api'
// 列表
export const listUrl = '/srm/purchase/demand/page'

// 获取采购申请详情
export const apiPostPurchaseDemandCancel = async (params) => Http.put('/srm/purchase/demand/cancel', params)

// 获取采购需求详情
export const apiGetPurchaseDemandDetail = async (id) => Http.get(`/srm/purchase/demand/detail/${id}`)
